Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Frame Manipulation Functions /


JMFrameActivate

Activates or deactivates a frame.

OSStatus JMFrameActivate (
                     JMFrameRef frame, 
                     Boolean activate);
frame
The frame to be activated or deactivated.
activate
A Boolean value. If true, the frame is to be made active; if false, the frame is to be deactivated.
function result
A result code. See "JManager Result Codes" (page 108) for a list of result codes that JManager may return in this field.
DISCUSSION
Only one frame should be active at one time, so if you make a frame active, you should deactivate the other frames in that AWT context thread. The client application must keep track of the currently active frame.

SEE ALSO
"Update, Activate, and Resume Events" (page 22).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
23 APR 1997